#define  _CRT_SECURE_NO_WARNINGS

#include "queue.h"

void test() {
	queue q;
	queueInit(&q);
	queuePush(&q, 1);
	queuePush(&q, 2);
	printf("%d\n", queueSize(&q));
	queuePop(&q);
	printf("%d\n", queueSize(&q));
	
	printf("%d\n", queueFront(&q));
	queuePop(&q);
	printf("%d\n", queueBack(&q));
	printf("%d\n", queueFront(&q));
	queueDestroy(&q);
}

int main() {
	test();
	return 0;
}